﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

#pragma warning disable 0618
namespace SpaceDash.Data
{
    //障碍结构体基类
    public class ObstacleBase
    {
        public int obstacleNumber;//障碍编号
        public string obstacleName;//障碍名称
        public GameObject gameObject;//存一些位置信息
    }

    //闪烁点障碍：遇到一个闪烁点会传送到另一个闪烁点
    public class FlashingPoint : ObstacleBase
    {
        public ObstacleBase otherFlashingPointl;//与之相对的闪烁点
    }

}